const Monitor = require('../../utils/monitor.js').Monitor
Page(Monitor.hookApp({
  data: {
    currentTab:0,
    arr:[1,2,3],
    arr2:[1,2]
  },
  click(e) {
    var e = e.currentTarget.dataset.current
    if (this.data.currentTab == e) { } else {
      this.setData({
        currentTab: e,
      })
    }
  },
 
  onLoad: function (options) {

  }
}))